var $;
var colorpicker;
 layui.use(["colorpicker"],function(){
      $=layui.$;
      colorpicker=layui.colorpicker;
     //表单赋值
colorpicker.render({
 elem: '#test-form'
 ,color: '#1c97f5'
 ,done: function(color){
   $('#test-form-input').val(color);
 }
});
 })
 var Cureups=function(){
   var arr= $('#test-form-input').val();
   return arr;
 }